//
//  CommoditiesModel.m
//  MBObjectServer
//
//  Created by alfazhu on 3/4/14.
//  Copyright (c) 2014 MBpayer. All rights reserved.
//

#import "CommoditiesModel.h"

@implementation CommoditiesModel
+(id) getPromotionModelFromDictionary :(NSDictionary *) dic
{
    CommoditiesModel * pars = [[CommoditiesModel alloc]init] ;
    pars.EntityStateSpecified = [dic objectForKey:@"EntityStateSpecified"];
    pars.HandStock = [dic objectForKey:@"HandStock"];
    pars.HandStockSpecified = [dic objectForKey:@"HandStockSpecified"];
    pars.LocID = [dic objectForKey:@"LocID"];
    pars.LocProp = [dic objectForKey:@"LocProp"];
    pars.ProdID = [dic objectForKey:@"ProdID"];
    pars.Selected = [dic objectForKey:@"Selected"];
    pars.SelectedSpecified = [dic objectForKey:@"SelectedSpecified"];
    pars.ShopID = [dic objectForKey:@"ShopID"];
    return pars ;
}
@end
